package com.etoak.service.impl;

import com.etoak.bean.User;
import com.etoak.service.UserService;
import org.springframework.stereotype.Service;

import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
@Service
public class UserServiceImpl implements UserService {

    @Override
    public User queryById(@WebParam(name = "id") int id) {
        User user  = new User();
        user.setId(id);
        user.setUsername("zs");
        user.setAge(20);
        user.setEmail("zs@163.com");
        return  user;
    }
}
